<?php

namespace app\admin\model;

use app\common\model\TimeModel;

class MallBanner extends TimeModel
{

    protected $name = "mall_banner";

    protected $deleteTime = "delete_time";
    
    public function goods()
    {
        return $this->belongsTo('app\admin\model\MallGoods', 'link_goods_id', 'id');
    }
    
    public function getStatusList()
    {
        return ['0'=>'禁用','1'=>'启用',];
    }


}